<template>
  <ms-block-tip>
    <el-form :inline="true" :model="searchForm" class="demo-form-inline">
      <el-form-item label="学生姓名">
        <el-input v-model="searchForm.name" placeholder="学生姓名"></el-input>
      </el-form-item>
      <el-form-item>
        <el-button type="primary">查询</el-button>
        <el-button type="primary" @click="$emit('add')">添加</el-button>
      </el-form-item>
    </el-form>
  </ms-block-tip>
</template>

<script>
import MsBlockTip from '@/common/blockTip'
export default {
  components: {
    MsBlockTip
  },
  data() {
    return {
      searchForm: {}
    }
  }
}
</script>

<style lang="stylus" scoped>
  @import '~@/assets/style/search.stylus'
</style>
